T
IdeaBlade DevForce 2010 Help Reference
AllEqual<T>(IEnumerable<T>) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class > AllEqual Method : AllEqual<T>(IEnumerable<T>) Method



items
Returns true if all items in a cached collection are equal.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Overloads Shared Function AllEqual(Of T)( _
   ByVal items As IEnumerable(Of T) _
) As Boolean
Visual Basic (Usage)Copy Code
Dim items As IEnumerable(Of T)
Dim value As Boolean
 
value = EnumerableFns.AllEqual(Of T)(items)
C# 
[ExtensionAttribute()]
public static bool AllEqual<T>( 
   IEnumerable<T> items
)
C++/CLI 
[ExtensionAttribute()]
public:
static bool AllEqualgeneric<typename T>
( 
   IEnumerable<T^>^ items
) 

Parameters

items

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.